package com.example.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.system.entity.DO.ExamQuestionDO;
import com.example.system.entity.VO.QuestionVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExamQuestionMapper extends BaseMapper<ExamQuestionDO> {

    /**
     * 查询竞赛下的所有题目
     * @param examId examId
     * @return List<QuestionVO>
     */
    List<QuestionVO> selectExamQuestionList(Long examId);
}
